package com.woniu.cms.goods.core.service;

import com.woniu.cms.goods.core.entity.GoodsSettle;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.cms.goods.core.entity.GoodsSettleMaterial;
import com.woniu.common.api.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-19
 */
public interface IGoodsSettleService extends IService<GoodsSettle> {

    Result getlist(Integer currentPage, Integer pageSize, Integer status);

    Result addSettle(GoodsSettle goodsSettle, List<GoodsSettleMaterial> list);

    Result deleteSettle(Integer id, Integer status);

    Result updateSettle(GoodsSettle goodsSettle, List<GoodsSettleMaterial> list);

    Result commitSettle(GoodsSettle goodsSettle, List<GoodsSettleMaterial> list);
}
